﻿using ProTrack.Utility;
using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Entity
{
    /// <summary>
    /// 排班计划表
    /// </summary>
    public class PlanTeam
    {
        /// <summary>
        /// 编号
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 排班编号
        /// </summary>
        public string PlanCode { get; set; }

        /// <summary>
        /// 排班名称
        /// </summary>
        public string PlanName { get; set; }

        /// <summary>
        /// 班组类型
        /// </summary>
        public string TeamType { get; set; }

        /// <summary>
        /// 班组编号
        /// </summary>
        public string TeamCode { get; set; }

        /// <summary>
        /// 班组名称
        /// </summary>
        public string TeamName { get; set; }

        /// <summary>
        /// 轮班时长
        /// </summary>
        public string ShiftDuration { get; set; }

        /// <summary>
        /// 轮班方式
        /// </summary>
        public string ShiftWay { get; set; }

        /// <summary>
        /// 倒班方式
        /// </summary>
        public string ChangeShiftWay { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime StartDate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime EndDate { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = StringHelper.GetTimeNow();

        /// <summary>
        /// 更新者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; }
    }

}
